package com.learning.platform.dto;

import jakarta.validation.constraints.NotBlank;
import lombok.Data;

@Data
public class CommentRequest {
    
    private Long postId;
    
    private Long parentId; // 回复评论时的父评论ID
    
    @NotBlank(message = "评论内容不能为空")
    private String content;
}

